package com.shanzmoo.pay.util;

/**
 * @author dingmeng
 * @title: Constants
 * @projectName jyf-mall-server
 * @description: 扫呗相关枚举类
 * @date 2021/4/1415:50
 */
public interface Constants {

    //扫呗业务结果
    String RESULT_CODE_SUCCESS = "01"; //成功
    String RESULT_CODE_FAIL = "02"; //失败

    //支付方式
    String PAY_TYPE_WEIXIN = "010"; //微信支付
    String PAY_TYPE_ALIPAY = "020"; //支付宝支付

    //订单业务类型
    Integer ORDER_TYPE_SCAN = 1;//扫描订单
    Integer ORDER_TYPE_MEMBER_INVEST = 2;//会员充值订单
    Integer ORDER_TYPE_POINTS = 3;//积分商城订单
    Integer ORDER_TYPE_PURCHASE = 4;//采购商城订单
    Integer ORDER_TYPE_HOME = 5;//到家商城订单

    //支付订单状态
    Integer PAY_STATUS_SUCCESS = 1; //支付成功
    Integer ORDER_STATUS_REFUND = 2; //转入退款
    Integer ORDER_STATUS_UNPAID = 3; //未支付
    Integer ORDER_STATUS_CLOSE = 4; //已关闭
    Integer ORDER_STATUS_PENDING= 5; //用户支付中
    Integer ORDER_STATUS_CANCEL= 6; //已撤销
    Integer ORDER_STATUS_OVERTIME = 7; // 未支付支付超时
    Integer ORDER_STATUS_FAIL = 8; // 支付失败
}
